//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.rjxy.demo.pojo;

import java.io.Serializable;
import java.util.Objects;

public class Users implements Serializable {
    private Integer id;
    private String uname;
    private String upwd;
    private Integer age;
    private String classes;

    public Users(Integer id, String uname, String upwd, Integer age, String classes) {
        this.id = id;
        this.uname = uname;
        this.upwd = upwd;
        this.age = age;
        this.classes = classes;
    }

    public Users() {
    }

    public String toString() {
        return "Users{id=" + this.id + ", uname='" + this.uname + '\'' + ", upwd='" + this.upwd + '\'' + ", age=" + this.age + ", classes='" + this.classes + '\'' + '}';
    }

    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (o != null && this.getClass() == o.getClass()) {
            Users users = (Users)o;
            return Objects.equals(this.id, users.id) && Objects.equals(this.uname, users.uname) && Objects.equals(this.upwd, users.upwd) && Objects.equals(this.age, users.age) && Objects.equals(this.classes, users.classes);
        } else {
            return false;
        }
    }

    public int hashCode() {
        return Objects.hash(new Object[]{this.id, this.uname, this.upwd, this.age, this.classes});
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUname() {
        return this.uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return this.upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public Integer getAge() {
        return this.age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getClasses() {
        return this.classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }
}
